// 全局注册自定义插件
import PageTools from '@/components/PageTools/index.vue'
import UploadImg from './UploadImg/index.vue'
import Lang from './Lang'
import ScreenFull from './ScreenFull'
export default {
  install(Vue) {
    console.log('Vue', Vue)
    // 注册全局组件
    Vue.component('PageTools', PageTools)
    Vue.component('UploadImg', UploadImg) // 全局用户头像上传组件
    Vue.component('Lang', Lang) // 全局语言切换按钮
    Vue.component('ScreenFull', ScreenFull)
  }
}
